home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Source / Chapter 11 / Game / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-10-01  |  1.3 KB  |  37 lines

  1. //-----------------------------------------------------------------------------
  2. // The main entry point. This file links the game to the engine.
  3. //
  4. // Programming a Multiplayer First Person Shooter in DirectX
  5. // Copyright (c) 2004 Vaughan Young
  6. //-----------------------------------------------------------------------------
  7. #ifndef MAIN_H
  8. #define MAIN_H
  9.  
  10. //-----------------------------------------------------------------------------
  11. // System Includes
  12. //-----------------------------------------------------------------------------
  13. #include <windows.h>
  14.  
  15. //-----------------------------------------------------------------------------
  16. // Engine Includes
  17. //-----------------------------------------------------------------------------
  18. #include "..\Engine\Engine.h"
  19. #pragma comment( lib, "../Engine/Engine.lib" )
  20.  
  21. //-----------------------------------------------------------------------------
  22. // Game Includes
  23. //-----------------------------------------------------------------------------
  24. #include "GameMaterial.h"
  25. #include "Menu.h"
  26. #include "Game.h"
  27.  
  28. //-----------------------------------------------------------------------------
  29. // Player Data Structure
  30. //-----------------------------------------------------------------------------
  31. struct PlayerData
  32. {
  33.     char character[MAX_PATH];
  34.     char map[MAX_PATH];
  35. };
  36.  
  37. #endif